const mongoose = require('mongoose');
const moment=require('moment');
const mongoosePaginate=require('mongoose-paginate');
var schema=new mongoose.Schema({
    username: String,
    password:String,
    age:Number,
    sex:Boolean,
    QQ:Number,
    emil:String,
    education:String,
    address:String,
    carId:Number,
    phone:Number,
    time:Date
});
schema.plugin(mongoosePaginate);
module.exports=mongoose.model('User',schema);
